﻿using System.ComponentModel;

namespace Devonline.Identity;

/// <summary>
/// 资源的定义
/// </summary>
[DisplayName("用户及其已分配资源")]
public class UserInfoViewModel
{
    /// <summary>
    /// 用户
    /// </summary>
    public UserViewModel User { get; set; }
    /// <summary>
    /// 用户授权资源列表
    /// </summary>
    public List<ResourceViewModel> Resources { get; set; }
    /// <summary>
    /// 用户授权资源树
    /// </summary>
    public List<ResourceViewModel> ResourceTree { get; set; }
}